package com.cyx.service;

import com.cyx.pojo.Book;

import java.util.List;

public interface BookService {
    int addBook(Book book);
    Book getBook(int bookId);
    int updateBook(Book book);
    int reduceBookStock(int bookId);
    int increaseBookStock(int bookId);
    List<Book> getBooks(String bookName,String bookDetail);
}
